package com.shop.shoppingmall.service;

import com.shop.shoppingmall.entity.ShCustomerService;

/**
 * (ShCustomerService)表服务接口
 *
 * @author makejava
 * @since 2020-09-29 10:21:18
 */
public interface ShCustomerServiceService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    ShCustomerService queryById(Integer id);

    /**
     * 新增数据
     *
     * @param shCustomerService 实例对象
     * @return 实例对象
     */
    ShCustomerService insert(ShCustomerService shCustomerService);

    /**
     * 修改数据
     *
     * @param shCustomerService 实例对象
     * @return 实例对象
     */
    ShCustomerService update(ShCustomerService shCustomerService);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Integer id);

}